.class Lrexsee/natives/ViewStyle$12;
.super Ljava/lang/Object;
.source "ViewStyle.java"

# interfaces
.implements Landroid/widget/AdapterView$OnItemLongClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lrexsee/natives/ViewStyle;->create(Lrexsee/core/browser/Browser;Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;Lrexsee/natives/RexseeJavaView;)Lrexsee/natives/ViewTag;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Ljava/lang/Object;",
        "Landroid/widget/AdapterView$OnItemLongClickListener;"
    }
.end annotation


# instance fields
.field private final synthetic val$browser:Lrexsee/core/browser/Browser;

.field private final synthetic val$gridView:Landroid/widget/GridView;


# direct methods
.method constructor <init>(Landroid/widget/GridView;Lrexsee/core/browser/Browser;)V
    .locals 0

    .prologue
    .line 1
    iput-object p1, p0, Lrexsee/natives/ViewStyle$12;->val$gridView:Landroid/widget/GridView;

    iput-object p2, p0, Lrexsee/natives/ViewStyle$12;->val$browser:Lrexsee/core/browser/Browser;

    .line 304
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onItemLongClick(Landroid/widget/AdapterView;Landroid/view/View;IJ)Z
    .locals 7
    .param p2, "view"    # Landroid/view/View;
    .param p3, "position"    # I
    .param p4, "id"    # J
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Landroid/widget/AdapterView",
            "<*>;",
            "Landroid/view/View;",
            "IJ)Z"
        }
    .end annotation

    .prologue
    .local p1, "parent":Landroid/widget/AdapterView;, "Landroid/widget/AdapterView<*>;"
    const/4 v6, 0x0

    .line 307
    iget-object v1, p0, Lrexsee/natives/ViewStyle$12;->val$gridView:Landroid/widget/GridView;

    invoke-virtual {v1}, Landroid/widget/GridView;->getTag()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lrexsee/natives/ViewTag;

    .line 308
    .local v0, "tag":Lrexsee/natives/ViewTag;
    if-eqz v0, :cond_0

    iget-object v1, p0, Lrexsee/natives/ViewStyle$12;->val$browser:Lrexsee/core/browser/Browser;

    iget-object v1, v1, Lrexsee/core/browser/Browser;->eventList:Lrexsee/core/browser/clazz/EventList;

    const-string v2, "onJavaItemLongClicked"

    const/4 v3, 0x2

    new-array v3, v3, [Ljava/lang/String;

    iget-object v4, v0, Lrexsee/natives/ViewTag;->id:Ljava/lang/String;

    aput-object v4, v3, v6

    const/4 v4, 0x1

    invoke-static {p3}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v5

    aput-object v5, v3, v4

    invoke-virtual {v1, v2, v3}, Lrexsee/core/browser/clazz/EventList;->run(Ljava/lang/String;[Ljava/lang/String;)V

    .line 309
    :cond_0
    return v6
.end method
